package com.internetCafes.spms.web.certificate.service;

import com.internetCafes.spms.web.certificate.model.vo.airecognize.CertificateSubmitAIRecognizeBatchVO;
import com.internetCafes.spms.web.certificate.model.vo.airecognize.RecognizeBatchSaveVO;
import com.internetCafes.spms.web.certificate.vo.CertificateInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 证书提交识别模块
 *
 * @author Zj
 */
public interface CertificateSubmitAIRecognizeService {

    /**
     * 证书批量保存
     *
     * @param certificateInfos 证书信息列表
     * @return 证书保存结果
     * @author Zj
     */
    RecognizeBatchSaveVO saveBatch(List<CertificateInfoVo> certificateInfos);

    /**
     * 批量证书文件识别
     *
     * @param files 文件列表
     * @return 识别结果封装
     * @author Zj
     */
    CertificateSubmitAIRecognizeBatchVO CertificateSubmitAIRecognizeBatch(MultipartFile[] files);
}
